package com.gochic.data;

import javax.jdo.annotations.Column;
import javax.jdo.annotations.Inheritance;
import javax.jdo.annotations.InheritanceStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

import com.gochic.DataEntity;

@PersistenceCapable(detachable = "true", table="user")
@Inheritance(strategy = InheritanceStrategy.COMPLETE_TABLE)
public class UserEntity extends DataEntity {
	private static final long serialVersionUID = -449939567347673606L;

	@Persistent
    @Column(name="name", jdbcType="VARCHAR", length=45)
	private String name;
	@Persistent
    @Column(name="level", jdbcType="VARCHAR", length=45)
	private String level;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
}
